//
//  Person.m
//  2Notification2
//
//  Created by zhengwei on 2/4/16.
//  Copyright © 2016 zhengwei. All rights reserved.
//

#import "Person.h"
#import "Teacher.h"
#import "Student.h"
@interface Person(){
    Student *s1;
    Teacher *t1;
}
@end
@implementation Person
-(void)testNotification{
//    [Teacher new];
//    [Student new];
    s1 = [[Student alloc]init];
    t1 = [[Teacher alloc]init];
    [[NSNotificationCenter defaultCenter]postNotificationName:@"TESTNOTIF" object:nil];
}
@end
